package net.lanelife.casino.caipiao.dto.admin;

import javax.validation.constraints.NotNull;

import net.lanelife.casino.caipiao.entity.User.AccountType;
import net.lanelife.casino.caipiao.validation.RebatePoint;
import net.lanelife.casino.common.dto.PersistentDTO;
import net.lanelife.casino.common.dto.annotation.DisallowedField;

public class UserUpdateDTO extends PersistentDTO<Integer> {

	private static final long serialVersionUID = 4931149208812320871L;

	@NotNull
	private Integer id;
	
	@DisallowedField
	private String userName;
	
	@DisallowedField
	private String parentName;
	
	@NotNull
	private AccountType accountType;
	
	@NotNull
	private Integer layerId;
	
	@NotNull
	private Boolean layerLocked;
	
	@RebatePoint
	private Double rebatePoint;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public AccountType getAccountType() {
		return accountType;
	}

	public void setAccountType(AccountType accountType) {
		this.accountType = accountType;
	}

	public Integer getLayerId() {
		return layerId;
	}

	public void setLayerId(Integer layerId) {
		this.layerId = layerId;
	}

	public Boolean getLayerLocked() {
		return layerLocked;
	}

	public void setLayerLocked(Boolean layerLocked) {
		this.layerLocked = layerLocked;
	}

	public Double getRebatePoint() {
		return rebatePoint;
	}

	public void setRebatePoint(Double rebatePoint) {
		this.rebatePoint = rebatePoint;
	}


}
